public class HelloWorld {
        public static void main(String[] args) {
            System.out.println("Hello,World!");
            Draw();
//          sum(9,0);
            System.out.println(sum(9,0));
            System.out.println("result"+sum1_100());
            int[] arryA=new int[3];
            int[] arryB=new int[]{1,2,3};
            System.out.println(arryA[0]);
            System.out.println(arryB[0]);

        }
        public static int sum1_100(){
            int rus=0;
            for (int i = 1; i <=100; i++) {
                rus+=i;
            }
            System.out.println(rus);
            return rus;
        }
        public static int sum(int a,int b){
            int result=a+b;
            return result;
        }
        public static void Draw(){
            System.out.println(1);
            System.out.println(2);
            System.out.println(3);
            for (int i = 0; i < 5; i++) {
                for (int i1 = 0; i1 < 20; i1++) {
                    System.out.print("*");
                }
                System.out.println();
            }
        }
}
